package com.yn.iotxiao.response;

public enum ResultCode {

        SUCCESS(200,"成功"),
        NOAUTH(401,"认证失败"),
        ERROR(500,"未知错误");

        private Integer code;
        private String msg;

        ResultCode(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public Integer getCode() {
            return this.code;
        }


        public String getMsg() {
            return this.msg;
        }
}
